.input {
  border: 1px solid red;
}
/* .show {
  animation: show-tiem 2s ease-in forwards;
}
.hide {
 animation: hide-tiem 2s ease-in forwards;
}

@keyframes show-tiem {
  0% {
    opacity: 0;
    color: red;
  }
  50% {
    opacity: 0.5;
    color: green;
  }
  100% {
    opacity: 1;
    color: blue;
  }
}

@keyframes hide-tiem {
  0% {
    opacity: 1;
    color: red;
  }
  50% {
    opacity: 0.5;
    color: green;
  }
  100% {
    opacity: 0;
    color: blue;
  }
} */
/*入场动画第一时刻*/
.fade-enter, .fade-appear{
  opacity: 0;
}
/*入场动画过程*/
.fade-enter-active, .fade-appear-active {
  opacity: 1;
  transition:  opacity 1s ease-in;
}
/*入场动画结束*/
.fade-enter-done {
  opacity: 1;
  /* color: red; */
}
/*出场动画第一时刻*/
.fade-exit {
  opacity: 1;
}
/*入场动画过程*/
.fade-exit-active {
  opacity: 0;
  transition:  opacity 1s ease-in;
}
/*入场动画结束*/
.fade-exit-done {
  opacity: 0;
}